﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="IndexFlashList.aspx.cs" Inherits="WebSystemAdmin.BasicSetting.IndexFlashList" %>
<%@ Import Namespace="Enter.Common" %>
<%@ Import Namespace="Enter.Entity" %>
<%@ Register Assembly="aspNetPager" Namespace="Cncard.Web" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
	<title></title>
	<link href="../css/admin_css.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<form id="form1" runat="server">
	<div>
		<table class="tb_data" cellpadding="0" cellspacing="1">
			<tr class="tr_title">
				<th colspan="16">
					<a href="IndexFlashEdit.aspx" class="A_Add"> 添加</a>
				</th>
			</tr>
			<tr class="tr_head">
				<td>ID</td>
				<td>图片地址</td>
				<td>连接地址</td>
				<td>top</td>
				<td>left</td>
				<td>页码</td>
				<td>宽</td>
				<td>高</td>
				<td>权重</td>
				<td>开始时间</td>
				<td>结束时间</td>
				<td>描述</td>
				<td>状态</td>
				<td>添加时候</td>
				<td>操作</td>
			</tr>
				<asp:Repeater ID="rp_Data" runat="server" onitemcommand="rp_Data_ItemCommand">
				<ItemTemplate>
					<tr class='<%#Container.ItemIndex%2==0?"tr_content_j":"tr_content_o" %>'>
						<td><asp:Label ID="lbl_ID" runat="server" Text='<%#Eval("ID")%>'></asp:Label></td>
						<td><asp:Label ID="lbl_ImgUrl" runat="server" Text='<%#Eval("ImgUrl")%>'></asp:Label></td>
						<td><asp:Label ID="lbl_LinkUrl" runat="server" Text='<%#Eval("LinkUrl")%>'></asp:Label></td>
						<td><asp:Label ID="lbl_ShowTop" runat="server" Text='<%#Eval("ShowTop")%>'></asp:Label></td>
						<td><asp:Label ID="lbl_ShopLeft" runat="server" Text='<%#Eval("ShopLeft")%>'></asp:Label></td>
						<td><asp:Label ID="lbl_PageIndex" runat="server" Text='<%#Eval("PageIndex")%>'></asp:Label></td>
						<td><asp:Label ID="lbl_width" runat="server" Text='<%#Eval("width")%>'></asp:Label></td>
						<td><asp:Label ID="lbl_height" runat="server" Text='<%#Eval("height")%>'></asp:Label></td>
						<td><asp:Label ID="lbl_Weight" runat="server" Text='<%#Eval("Weight")%>'></asp:Label></td>
						<td><asp:Label ID="lbl_StartTime" runat="server" Text='<%#Eval("StartTime")%>'></asp:Label></td>
						<td><asp:Label ID="lbl_EndTime" runat="server" Text='<%#Eval("EndTime")%>'></asp:Label></td>
						<td><asp:Label ID="lbl_Descr" runat="server" Text='<%#Eval("Descr")%>'></asp:Label></td>
						<td><asp:Label ID="lbl_Status" runat="server" Text='<%# EnumHelper.GetEnumCNNameFromEnum((Enter.Config.EnumStatus)(byte)Eval("Status"))%>'></asp:Label></td>
						<td><asp:Label ID="lbl_AddTime" runat="server" Text='<%#Eval("AddTime")%>'></asp:Label></td>
						<td><div> <a href='IndexFlashEdit.aspx?ID=<%#Eval("ID")%>' class="A_edit">编辑</a><asp:LinkButton ID="LBtnDel" CommandName="Delete" class="A_Del" OnClientClick="return  confirm('你确认要删除吗?')" CommandArgument='<%#Eval("ID") %>'  runat="server">删除</asp:LinkButton></div></td>
					</tr>
				 </ItemTemplate>
			</asp:Repeater>
		</table>
<cc1:AspNetPager ID="ucPager" runat="server" NumericButtonTextFormatString="[{0}]" HorizontalAlign="right" ShowCustomInfoSection="Left" OnPageChanged="ucPager_PageChanged"></cc1:AspNetPager>
</div>
</form>
</body>
</html>
